import React from 'react'
import PropTypes from 'prop-types'
const Props = (props) => {
  console.log(props.color)
  return <div>御剑乘风来,除魔天地间!===Props</div>
}

Props.propTypes = {
  color: PropTypes.array,
  name: PropTypes.number,
  f1: PropTypes.func,
  b1: PropTypes.bool,
  b2: PropTypes.string.isRequired,
  b3: PropTypes.shape({
    id: PropTypes.number,
    name: PropTypes.string,
  }),
}
export default Props
